package com.back.end.Dao;

import com.back.end.Modal.Address;
import com.back.end.Modal.User;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;
import java.util.List;

@Mapper
public interface AppUserDao {
    public void userRegister(String name, String phone, Timestamp createdTime, String profile);

    public User find_user(String phone);

    public void addAddress(String name, int customerId, String phone, String address);

    public List<Address> getAddressList(Integer id);

    public void updateAddress(int id, String name, String phone, String address);

}
